package com.cms.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
*@author:gang
*@version:
**/
@Controller
@RequestMapping("/test")
public class MVCTest01 {

	@RequestMapping("/modelandviewtest")
	public ModelAndView test(){
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("mvctest");
		System.out.println("success");
		return modelAndView;
	}
}
